package cn.elead.chaos.sso.server.enums;

import cn.elead.chaos.framework.web.enums.IEnum;

/**
 * OAuth2的response_type参数枚举
 * <p>
 * https://www.cnblogs.com/giserliu/p/4372455.html
 * 
 * @author luopeng
 *
 */
public enum ResponseType implements IEnum<String> {

	WEB("web"), CODE("code"), TOKEN("token");

	private String value;

	private ResponseType(String value) {
		this.value = value;
	}

	@Override
	public String getValue() {
		return this.value;
	}

	@Override
	public String getName() {
		return this.value;
	}

}
